package com.shuwen.gcdj.entity;

import java.time.LocalDateTime;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.experimental.Accessors;

/**
 * (MsgAlarmmessage)表实体类
 *
 * @author gaosl
 * @since 2023-05-23 09:18:39
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("msg_alarmmessage")
public class MsgAlarmmessage extends Model<MsgAlarmmessage> implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;


    /**
     * 设备Id
     */
    private String equipmentId;

    /**
     * 设备名称
     */
    private String equipmentName;

    /**
     * 传感器编号
     */
    private String sensorCode;

    /**
     * 部件Id
     */
    private String structureId;

    /**
     * 部件名称
     */
    private String structureName;

    /**
     * 状态
     */
    private Integer state;

    /**
     * 创建者id
     */
    private String createId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新者id
     */
    private String updateId;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 是否删除 1-删除 0-正常
     */
    private Integer isDelete;

    /**
     * 备注
     */
    private String remark;

    /**
     * 是否已读
     */
    private Integer isread;

    /**
     * 报修工单编号
     */
    private String orderCode;

    /**
     * 预警内容
     */
    private String content;

    /**
     * 设备编号
     */
    private String equipmentCode;
}
